package com.mall.service;

import com.mall.bean.Role;

import java.util.List;

public interface RoleService extends Service<Role>{
    List<Role> getRoleList();

    int confirmAssignPermission(Integer roleId, String[] pidArray);

    int deleteRoleById(Integer roleId);

    int updateRoleById(Role role);

    int saveRole(Role role);
}
